package it.traveldream.UIBeans;

import javax.faces.application.FacesMessage;
import javax.faces.application.FacesMessage.Severity;
import javax.faces.context.FacesContext;

public class MessageUtils {
	
	public static void addPageMessage(Severity severity,String summary, String message){
		FacesContext context = FacesContext.getCurrentInstance();  

        context.addMessage(null, new FacesMessage(severity, summary, message)); 
        
        
       
		
	}

}
